/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package toesp.testing;

import java.util.List;
import toesp.bean.MhsBean;
import toesp.entity.Mhs;

/**
 *
 * @author satria.sp
 */
public class MhsTesting {
    public static void main(String[] args) {
        List<Mhs> lstMhs = null;
        Mhs m = new Mhs();
        
        MhsBean mb = new MhsBean();
        
        try {
//            lstMhs = mb.getAll();
            lstMhs = mb.getAllByJur("11");
            for (Mhs mhs : lstMhs) {
                System.out.println(mhs.getMhsNpm()+"--"+mhs.getMhsNama());
            }
            
        } catch (Exception e) {
            System.out.println("Erno : "+e.getMessage());
        }
        
    }
}
